﻿using System;
using Adaptive.Agrona;

namespace Unity.Connections
{
    public interface IUnityProducer : IUnityConnection
    {
        bool Produce(IDirectBuffer buffer, int offset, int length);
        bool AddToBatching(IDirectBuffer buffer, int offset, int length);
        int CompleteBatching();
    }
}
